//layout组件仓库
import { defineStore } from 'pinia'

const useLayoutSettingStore = defineStore('SettingStore', {
  state: () => {
    return {
      fold: false, //侧边栏是否收起
    }
  },
  actions: {
    changeFold() {
      this.fold = !this.fold
    },
  },
})
export default useLayoutSettingStore
